package com.teangtang.fly.service;

import com.teangtang.fly.entity.IdCardType;
import com.teangtang.fly.repository.IdCardTypeRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IdCardTypeService {
    @Autowired
    private IdCardTypeRepository idCardTypeRepository;
    public List<IdCardType> getAllIdCardTypes(){
        return idCardTypeRepository.findAll();
    }
}
